<?
if(!MEMBER) common::accessdenied();
if(POST) postie::send(array('UID'=>UID,'RID'=>$_POST['RID'],'title'=>$_POST['title'],'message'=>$_POST['message']));
else {
    $data->postie->account = profile::get(array('ID'=>PARAMS));
}
$data->TITLE = _('Compose');
$data->DESCRIPTION = _('Compose');

@include 'apps/advertisement/trunk/_item.php';
$data->CSS = 'advertisement';
?>